package cn.gson.oasys.model.dao.log;

        import cn.gson.oasys.model.entity.monitor.Monitor;
        import cn.gson.oasys.model.entity.user.UserLog;
        import org.springframework.data.jpa.repository.JpaRepository;
        import org.springframework.data.jpa.repository.Modifying;
        import org.springframework.data.jpa.repository.Query;
        import org.springframework.stereotype.Repository;


@Repository
public interface LogTableDao extends JpaRepository<Monitor, Integer>{
    @Modifying
    @Query(value = "insert into Monitor(id,operateUser,operateDate,operateClassName,operateMethodName)values(,'1100','2021-16-06 04:40:44','11111','1111111','111111')",nativeQuery = true)
    Integer addLog(Monitor monitor);
}
